<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\jui\DatePicker;

?>
<?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]);?>


<?= $form->field($model, 'username')->label('用户名') ?>

<?= $form->field($model, 'password')->label('密码') ?>



    <div class="form-group">
        <?= Html::submitButton('提交', ['class' => 'btn btn-primary',]) ?>
        <a href="http://localhost/yii/web/index.php" class="btn-primary btn">返回登录</a>


    </div>

<?php ActiveForm::end(); ?>